lcBlockAddLineTan Home

Adds a new Line object into a block. This line will be tangent to 2 circle/arc objects.

 HANDLE lcBlockAddLineTan (
   HANDLE hBlock,
   HANDLE hEnt1,
   HANDLE hEnt2,
   int Mode
 );

Parameters
hBlock
  Handle to a block.
hEnt1
  Handle to a circle or arc object. Defines a start point for tangent line.
hEnt2
  Handle to a circle or arc object. Defines an end point for tangent line.
Mode
  Defines the tangent line placement along the hEnt1 -> hEnt2 direction.
0 - left side,
1 - right side,
2 - left-right,
3 - right-left

Return Value

  Handle to created Line object or NULL if the function fails.

See Also

  Code sample,   lcBlockAddLine